home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 23
/
AMIGAplus Sonderheft 23 (2000)(Falke)(DE)[!].iso
/
Updates
/
Librarys
/
zee_ini_library
/
include
/
inline
/
ini.h.old
< prev
Wrap
Text File
|
1999-08-06
|
45KB
|
1,201 lines
/* Automatically generated header! Do not edit! */
#ifndef _INLINE_INI_H
#define _INLINE_INI_H
#ifndef __INLINE_STUB_H
#include <inline/stubs.h>
#endif /* !__INLINE_STUB_H */
#ifndef BASE_EXT_DECL
#define BASE_EXT_DECL
#define BASE_EXT_DECL0 extern struct Library *INIBase;
#endif /* !BASE_EXT_DECL */
#ifndef BASE_PAR_DECL
#define BASE_PAR_DECL
#define BASE_PAR_DECL0 void
#endif /* !BASE_PAR_DECL */
#ifndef BASE_NAME
#define BASE_NAME INIBase
#endif /* !BASE_NAME */
BASE_EXT_DECL0
extern __inline void
iniAddContext(BASE_PAR_DECL struct iniFile *iniFile, struct iniContext *ContextStr)
{
BASE_EXT_DECL
register struct Library *a6 __asm("a6") = BASE_NAME;
register struct iniFile *a0 __asm("a0") = iniFile;
register struct iniContext *a1 __asm("a1") = ContextStr;
__asm volatile ("jsr a6@(-0x78:W)"
: /* No Output */
: "r" (a6), "r" (a0), "r" (a1)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
}
extern __inline void
iniAddContextItem(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine)
{
BASE_EXT_DECL
register struct Library *a6 __asm("a6") = BASE_NAME;
register struct iniContext *a0 __asm("a0") = ContextStr;
register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine;
__asm volatile ("jsr a6@(-0x9c:W)"
: /* No Output */
: "r" (a6), "r" (a0), "r" (a1)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
}
extern __inline STRPTR
iniAllocNameStr(BASE_PAR_DECL STRPTR CStr)
{
BASE_EXT_DECL
register STRPTR res __asm("d0");
register struct Library *a6 __asm("a6") = BASE_NAME;
register STRPTR a0 __asm("a0") = CStr;
__asm volatile ("jsr a6@(-0x2a:W)"
: "=r" (res)
: "r" (a6), "r" (a0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
return res;
}
extern __inline APTR
iniAllocPMem(BASE_PAR_DECL unsigned long byteSize)
{
BASE_EXT_DECL
register APTR res __asm("d0");
register struct Library *a6 __asm("a6") = BASE_NAME;
register unsigned long d0 __asm("d0") = byteSize;
__asm volatile ("jsr a6@(-0x1e:W)"
: "=r" (res)
: "r" (a6), "r" (d0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
return res;
}
extern __inline BOOL
iniCheckComment(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine)
{
BASE_EXT_DECL
register BOOL res __asm("d0");
register struct Library *a6 __asm("a6") = BASE_NAME;
register struct iniContext *a0 __asm("a0") = ContextStr;
register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine;
__asm volatile ("jsr a6@(-0x12c:W)"
: "=r" (res)
: "r" (a6), "r" (a0), "r" (a1)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
return res;
}
extern __inline void
iniClose(BASE_PAR_DECL struct iniFile *iniFile)
{
BASE_EXT_DECL
register struct Library *a6 __asm("a6") = BASE_NAME;
register struct iniFile *a0 __asm("a0") = iniFile;
__asm volatile ("jsr a6@(-0x5a:W)"
: /* No Output */
: "r" (a6), "r" (a0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
}
extern __inline struct iniContext *
iniCreateContext(BASE_PAR_DECL STRPTR ContextName)
{
BASE_EXT_DECL
register struct iniContext *res __asm("d0");
register struct Library *a6 __asm("a6") = BASE_NAME;
register STRPTR a0 __asm("a0") = ContextName;
__asm volatile ("jsr a6@(-0x6c:W)"
: "=r" (res)
: "r" (a6), "r" (a0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
return res;
}
extern __inline struct iniContextItemLine *
iniCreateContextItem(BASE_PAR_DECL STRPTR CStr)
{
BASE_EXT_DECL
register struct iniContextItemLine *res __asm("d0");
register struct Library *a6 __asm("a6") = BASE_NAME;
register STRPTR a0 __asm("a0") = CStr;
__asm volatile ("jsr a6@(-0x90:W)"
: "=r" (res)
: "r" (a6), "r" (a0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
return res;
}
extern __inline void
iniDeleteContext(BASE_PAR_DECL struct iniContext *ContextStr)
{
BASE_EXT_DECL
register struct Library *a6 __asm("a6") = BASE_NAME;
register struct iniContext *a0 __asm("a0") = ContextStr;
__asm volatile ("jsr a6@(-0x8a:W)"
: /* No Output */
: "r" (a6), "r" (a0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
}
extern __inline void
iniDeleteContextItem(BASE_PAR_DECL struct iniContextItemLine *ContextItemLine)
{
BASE_EXT_DECL
register struct Library *a6 __asm("a6") = BASE_NAME;
register struct iniContextItemLine *a0 __asm("a0") = ContextItemLine;
__asm volatile ("jsr a6@(-0xae:W)"
: /* No Output */
: "r" (a6), "r" (a0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
}
extern __inline struct iniContext *
iniFindContext(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, unsigned long Flags)
{
BASE_EXT_DECL
register struct iniContext *res __asm("d0");
register struct Library *a6 __asm("a6") = BASE_NAME;
register struct iniFile *a0 __asm("a0") = iniFile;
register STRPTR a1 __asm("a1") = ContextName;
register unsigned long d0 __asm("d0") = Flags;
__asm volatile ("jsr a6@(-0x1bc:W)"
: "=r" (res)
: "r" (a6), "r" (a0), "r" (a1), "r" (d0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
return res;
}
extern __inline struct iniContextItemLine *
iniFindItem(BASE_PAR_DECL struct iniContext *ContextStr, STRPTR ContextItemName, unsigned long Flags)
{
BASE_EXT_DECL
register struct iniContextItemLine *res __asm("d0");
register struct Library *a6 __asm("a6") = BASE_NAME;
register struct iniContext *a0 __asm("a0") = ContextStr;
register STRPTR a1 __asm("a1") = ContextItemName;
register unsigned long d0 __asm("d0") = Flags;
__asm volatile ("jsr a6@(-0x1c2:W)"
: "=r" (res)
: "r" (a6), "r" (a0), "r" (a1), "r" (d0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
return res;
}
extern __inline ULONG
iniFloatToStr(BASE_PAR_DECL STRPTR Buffer, long Float, unsigned long FltFormat, unsigned long IntLen, unsigned long FracLen, unsigned long ZeroSep)
{
BASE_EXT_DECL
register ULONG res __asm("d0");
register struct Library *a6 __asm("a6") = BASE_NAME;
register STRPTR a0 __asm("a0") = Buffer;
register long d0 __asm("d0") = Float;
register unsigned long d1 __asm("d1") = FltFormat;
register unsigned long d2 __asm("d2") = IntLen;
register unsigned long d3 __asm("d3") = FracLen;
register unsigned long d4 __asm("d4") = ZeroSep;
__asm volatile ("jsr a6@(-0x1b6:W)"
: "=r" (res)
: "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
return res;
}
extern __inline void
iniFreeContext(BASE_PAR_DECL struct iniContext *ContextStr)
{
BASE_EXT_DECL
register struct Library *a6 __asm("a6") = BASE_NAME;
register struct iniContext *a0 __asm("a0") = ContextStr;
__asm volatile ("jsr a6@(-0x72:W)"
: /* No Output */
: "r" (a6), "r" (a0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
}
extern __inline void
iniFreeContextItem(BASE_PAR_DECL struct iniContextItemLine *ContextItemLine)
{
BASE_EXT_DECL
register struct Library *a6 __asm("a6") = BASE_NAME;
register struct iniContextItemLine *a0 __asm("a0") = ContextItemLine;
__asm volatile ("jsr a6@(-0x96:W)"
: /* No Output */
: "r" (a6), "r" (a0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
}
extern __inline void
iniFreeNameStr(BASE_PAR_DECL STRPTR NameStr)
{
BASE_EXT_DECL
register struct Library *a6 __asm("a6") = BASE_NAME;
register STRPTR a0 __asm("a0") = NameStr;
__asm volatile ("jsr a6@(-0x30:W)"
: /* No Output */
: "r" (a6), "r" (a0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
}
extern __inline void
iniFreePMem(BASE_PAR_DECL APTR memoryBlock, unsigned long byteSize)
{
BASE_EXT_DECL
register struct Library *a6 __asm("a6") = BASE_NAME;
register APTR a1 __asm("a1") = memoryBlock;
register unsigned long d0 __asm("d0") = byteSize;
__asm volatile ("jsr a6@(-0x24:W)"
: /* No Output */
: "r" (a6), "r" (a1), "r" (d0)
: "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory");
}
extern __inline STRPTR
iniGetArray